﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>@ViewBag.Title</title>
    <!-- 基础样式 -->
    <link href="~/Playground/Content/bootstrap.min.css" rel="stylesheet">
    <link href="~/Playground/Content/datepicker3.css" rel="stylesheet" />
    <link href="~/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
    <link href="~/Playground/Content/font_icon.css" rel="stylesheet" />
    <link href="~/Playground/Content/animate.css" rel="stylesheet">
    <link href="~/Playground/Content/MainStyle.css" rel="stylesheet" />
    <link href="~/Playground/Content/Site.css" rel="stylesheet" />
    <link href="~/Playground/Plugin/wizard/wizard.css" rel="stylesheet" />
    <!-- scripts -->
    <script src="~/Playground/Scripts/jquery-3.1.1.min.js"></script>
    <script src="~/Playground/Scripts/bootstrap.min.js"></script>
    <script src="~/Playground/Scripts/bootstrap-datepicker.js"></script>
    <script src="~/Playground/Plugin/wizard/wizard.js"></script>
    <!-- 页面行为 -->
    <link href="~/Playground/Plugin/toastr/toastr.min.css" rel="stylesheet" />
    <script src="~/Playground/Plugin/toastr/toastr.min.js"></script>
    <link href="~/Playground/Plugin/jsTree/style.min.css" rel="stylesheet" />
    <script src="~/Playground/Plugin/jsTree/jstree.min.js"></script>
    <link href="~/Playground/Plugin/Grid/jfgrid.css" rel="stylesheet" />
    <script src="~/Playground/Scripts/mousewheel.js"></script>
    <script src="~/Playground/Scripts/jquery.form.js"></script>
    <script>
        //根路径---要在引擎加载之前赋值
        $.rootUrl = '@Url.Content("~")'.substr(0, '@Url.Content("~")'.length - 1);
        //为表单提交生成，验证令牌
        $.Token = $('@Html.AntiForgeryToken()').val();
    </script>
    <!-- 加载引擎 --这里不能放ibpm_base.js，不然会在缓存中重构top.ibpm对象，父级窗体加载的方法就失效了 -->
    <script src="~/Playground/Scripts/ibpm/ibpm-tools.js"></script>
    <script src="~/Playground/Scripts/ibpm/ibpm-scroll.js"></script>
    <script src="~/Playground/Scripts/ibpm/ibpm-form.js"></script>
    <script src="~/Playground/Scripts/ibpm/ibpm-validator.js"></script>
    <script src="~/Playground/Plugin/Grid/jfgrid.js"></script>
    <script src="~/Playground/Scripts/ibpm/ibpm-GirdSelect.js"></script>
    <script src="~/Playground/Scripts/ibpm/ibpm-tree.js"></script>
    <script src="~/Playground/Scripts/ibpm/ibpm-select.js"></script>
    <script src="~/Playground/Scripts/ibpm/ibpm-uploader.js"></script>
    <script src="~/Playground/Scripts/ibpm/ibpm-pic.js"></script>
    <!-- 前端收尾 -->
    <script src="~/Playground/Scripts/ibpm/ibpm-admin.js"></script>
</head>
<!-- 当前布局只用于弹出层配置 -->
<body style="overflow:scroll; overflow-y:hidden; overflow-x:hidden">
    <div class="M-form_bg" id="M_form_bg"></div>
    @RenderBody()
    <script>
        $(function () {
            if (!!window.bootstrap && typeof bootstrap === "function") {
                bootstrap(jQuery, top.ibpm);    //执行，当前页面的业务行为
            }
        });
    </script>
    <!-- Ex -->
    @RenderSection("scripts", required: false)
</body>
</html>
